//
//  PPTimelineDetailHeaderView.h
//  pickpic
//
//  Created by GaoYongyue on 16/9/25.
//  Copyright © 2016年 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PPAlbumObject.h"

@class PPTimelineDetailHeaderView;

@protocol PPTimelineDetailHeaderViewDelegate <NSObject>

- (void)detailHeaderView:(PPTimelineDetailHeaderView *)detailHeaderView didSelectShareAlbum:(PPAlbumObject *)album;

- (void)detailHeaderView:(PPTimelineDetailHeaderView *)detailHeaderView didSelectCommentListForAlbum:(PPAlbumObject *)album;

@end

@interface PPTimelineDetailHeaderView : UIView

@property (readwrite, nonatomic, weak) id<PPTimelineDetailHeaderViewDelegate> delegate;

@property (readwrite, nonatomic, strong) PPAlbumObject *album;

@property (nonatomic, weak) UIViewController *delegateViewController;

+ (CGFloat)heightForAlbum:(PPAlbumObject *)album;

@end
